package com.kingdee.openimport.patch_service.exception;

/**
 * Created by Niki on 2018/5/8 10:40
 */
public class PatchException extends Exception {
    private static final long serialVersionUID = -6770411418474732981L ;
    private String code ;
    private String msg ;

    public PatchException() {
        super();
    }

    public PatchException(String message) {
        super(message);
    }

    public PatchException(String message, Throwable cause) {
        super(message, cause);
    }

    public PatchException(Throwable cause) {
        super(cause);
    }

    public PatchException(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    public PatchException(Throwable cause, String code, String msg) {
        super(cause);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
